#ifndef __HIKARI_DimaScript___FILE__DEFINED
#define __HIKARI_DimaScript___FILE__DEFINED

#include "hikari.h"

class DimaScript:public BaseHikariScript{
public:
//PLEASE DO NOT MODIFY THIS SECTION
//PROPERTIES_SECTION_START
//PROPERTIES_SECTION_END

	virtual void update(HObj*object, HikariContext*context){
		if(context->getInput()->isLeftMouseButtonDown()){
			object->moveX(1);
		}

		if(context->getInput()->isRightMouseButtonDown()){
			object->moveX(-1);
		}
	}

	IMPLEMENT_RTTI(DimaScript, BaseHikariScript);    
};
BEGIN_REFLECTION_METADATA(DimaScript, base_rtti_object)
END_REFLECTION_METADATA(DimaScript)
#endif